home *** CD-ROM | disk | FTP | other *** search
/ Kit PC World De Ampliacion De Windows 95 / Kit PC World de ampliacion de Windows 95.iso / internet / sweeper / samples / olecon~1 / controls / template / templppg.h < prev    next >
Text File  |  1995-11-25  |  2KB  |  50 lines

  1. //=--------------------------------------------------------------------------=
  2. // <<DEFCONTROLTRUNCNAME>>PPG.H
  3. //=--------------------------------------------------------------------------=
  4. // Copyright  1995  Microsoft Corporation.  All Rights Reserved.
  5. //
  6. // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF 
  7. // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO 
  8. // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A 
  9. // PARTICULAR PURPOSE.
  10. //=--------------------------------------------------------------------------=
  11. //
  12. // class declaration for <<DEFCONTROLNAME>>'s property pages.
  13. //
  14. #ifndef _<<DEFCONTROLNAMECAPS>>PROPPAGE_H_
  15.  
  16.  
  17. // kinda need these
  18. //
  19. #include "PropPage.H"
  20. #include "Resource.H"
  21. #include "Guids.H"
  22.  
  23. class C<<DEFCONTROLNAME>>GeneralPage : public CPropertyPage {
  24.  
  25.   public:
  26.     static IUnknown *Create(IUnknown *pUnkOuter);
  27.  
  28.     // constructor and destructor
  29.     //
  30.     C<<DEFCONTROLNAME>>GeneralPage(IUnknown *pUnkOuter);
  31.     virtual ~C<<DEFCONTROLNAME>>GeneralPage();
  32.  
  33.   private:
  34.     virtual BOOL DialogProc(HWND, UINT, WPARAM, LPARAM);
  35.  
  36. };
  37.  
  38. DEFINE_PROPERTYPAGEOBJECT(<<DEFCONTROLNAME>>General,
  39.     &CLSID_<<DEFCONTROLNAME>>GeneralPage,
  40.     "<<DEFCONTROLNAME>> General Propery Page",
  41.     C<<DEFCONTROLNAME>>GeneralPage::Create,
  42.     IDD_PROPPAGE_<<DEFCONTROLNAMECAPS>>GENERAL,
  43.     IDS_<<DEFCONTROLNAMECAPS>>_GENERALPAGETITLE,
  44.     IDS_<<DEFCONTROLNAMECAPS>>_GENERALDOCSTRING,
  45.     "vb.hlp",
  46.     0);
  47.  
  48. #define _<<DEFCONTROLNAMECAPS>>PROPPAGE_H_
  49. #endif // _<<DEFCONTROLNAMECAPS>>PROPPAGE_H_
  50.